home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 22 / AACD 22.iso / AACD / Games / Connect4 / source / window / winnerwin.c < prev   
Encoding:
Text File  |  2001-05-13  |  1.5 KB  |  41 lines

  1. SubWindow, winnerwin = WindowObject,
  2.     MUIA_Window_Title, "The Winner",
  3.     MUIA_Window_ID   , MAKE_ID('W','I','N','W'),
  4.     MUIA_Window_Width , MUIV_Window_Width_Default,
  5.     MUIA_Window_Height, MUIV_Window_Height_Default,
  6.     MUIA_Window_ScreenTitle, "Connect 4",
  7.     MUIA_Window_CloseGadget, FALSE,
  8.  
  9.     WindowContents,
  10.         VGroup,
  11.             Child, HGroup,
  12.                 MUIA_Frame, MUIV_Frame_Text,
  13.                 MUIA_Background, MUII_TextBack,
  14.                 Child, RectangleObject, End,
  15.                 Child, VGroup,
  16.                     Child, TextObject,
  17.                         MUIA_Text_Contents, MUIX_C"\nContratulations\n",
  18.                     End,
  19.                     Child, winnertext = TextObject, End,
  20.                     Child, TextObject,
  21.                         MUIA_Text_Contents, MUIX_C"\nYou are the WINNER!\n",
  22.                     End,
  23.                 End,
  24.                 Child, RectangleObject, End,
  25.             End,
  26.             Child, HGroup,
  27.                 Child, RectangleObject, End,
  28.                 Child, winw_ok=TextObject,
  29.                          MUIA_Text_Contents, "OK",
  30.                          MUIA_Text_SetMax, TRUE,
  31.                          MUIA_Frame, MUIV_Frame_Button,
  32.                          MUIA_InputMode, MUIV_InputMode_RelVerify,
  33.                          MUIA_Background, MUII_ButtonBack,
  34.                          MUIA_CycleChain, 1,
  35.                 End,
  36.                 Child, RectangleObject, End,
  37.             End,
  38.         End,
  39. End,
  40.  
  41.